<div [formGroup]="group" [ngClass]="getClass('grid', 'control')">

    <p-inputSwitch #pInputSwitch
                   [formControlName]="model.id"
                   [id]="id"
                   [ngClass]="getClass('element', 'control')"
                   [tabindex]="model.tabIndex"
                   (onChange)="onChange($event)"></p-inputSwitch>

</div>
